<table>
<tr><th colspan="2">Ürün</th><th>Adet</th><th>Fiyat</th></tr>
<?php foreach($cart['products'] as $product):?>
<tr>
		<td><img class="mycartresim" src="/bookstore/img/<?php echo $product['Product']['image'];?>" /></td>
		<td><?php echo $product['Product']['name'];?></td>
		<td><?php echo $product['Product']['qty']?></td>
		<td><?php echo $product['Product']['allprice']*1;?> TL <span style="font-style:italic;">(<?php echo ($product['Product']['price']*1)."x".$product['Product']['qty'];?>)</span></td>
</tr>
<?php endforeach; ?>
<tr><th colspan="3">Toplam</th><th><?php echo $cart['sum'];?> TL</th></tr>
</table>
<button id="returnShopping" class="button" onclick="window.location='/bookstore';"><span class="leftarrow icon"></span>Alışverişe Devam Et</button>
<button type="button" id="gotoPayment" class="button" <?php if($cart['sum']=='0')echo 'disabled="disabled"'?> onclick="window.location='/bookstore/sales/payment';"><span class="rightarrow icon"></span>Ödemeye Git</button>